package com.lzx.shop.dataobject;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * category
 * @author 
 */
@Data
@TableName("category")
public class CategoryDO implements Serializable {
    /**
     * 主键
     */
    private String id;

    /**
     * 父类目id
     */
    private String parentId;

    /**
     * 排序值
     */
    private Integer sort;

    /**
     * 分类名称
     */
    private String name;

    @TableField(exist = false)
    List<ProductDO> productDOList;

    private static final long serialVersionUID = 1L;

}